import React, { Component } from 'react';
import TabLeft from './TabLeft'
import TabRight from './TabRight'

class MyTab extends Component {
   
    render() {
        return (
            <div className='mytab'>
                   <div className='header'>
                    <input type="text" placeholder='搜索店铺内商品' />
                </div>
                {/* 左部分 */}
                {/* <TabLeft tablist={this.state.tablist} 
                 currentIndex={this.state.currentIndex} handleclick={this.handleclick.bind(this)}></TabLeft> */}
                 <TabLeft></TabLeft>
                {/* 右部分 */}
                <TabRight></TabRight>
                {/* <context.Provider value={11}> */}
                {/* <TabRight goodlist={this.state.goodlist} currentIndex={this.state.currentIndex} handleclick={this.handleclick.bind(this)}></TabRight> */}
                {/* </context.Provider> */}
            </div>
        );
    }
}

export default MyTab;